import { NgModule } from '@angular/core';

import { LoadingService } from "./loading.service";
import { CmLoadingDirective } from "./loading.directive";

import { StripExtensionPipe } from "./../pipes/strip-extension.pipe";
import { ToFixedPipe } from "./../pipes/to-fixed.pipe";
import { UnitPipe } from "./../pipes/unit.pipe";
import { OptimizeUnitPipe } from "./../pipes/optimize-unit.pipe";
import { TransMarketPipe } from "./../pipes/trans-market.pipe";
import { TransformPipe } from "./../pipes/transform.pipe";
import { VtradePipe } from "./../pipes/vtrade.pipe";
import { AddColonPipe } from "./../pipes/add-colon.pipe";
import { PostSymbolTrimPipe } from "./../pipes/post-symbol-trim.pipe";
import { DatexPipe } from "./../pipes/datex.pipe";
import { DecimalPipe } from "./../pipes/decimal.pipe";

import { ResizeingDirective } from "./resizing.directive";
import { ResizingService } from "./resizing.service";
import { ScrollerDirective } from "./scroller.directive";
import { SummaryNameService } from "./summaryname.service";

@NgModule({
  declarations: [
    StripExtensionPipe,
    UnitPipe,
    OptimizeUnitPipe,
    DecimalPipe,
    TransMarketPipe,
    ResizeingDirective,
    CmLoadingDirective,
    VtradePipe,
    AddColonPipe,
    PostSymbolTrimPipe,
    DatexPipe,
    TransformPipe,
    ToFixedPipe,
    ScrollerDirective
  ],
  providers: [
    LoadingService,
    ResizingService,
    SummaryNameService
  ],
  exports: [
    CmLoadingDirective,
    ResizeingDirective,
    ScrollerDirective,
    OptimizeUnitPipe,
    VtradePipe,
    AddColonPipe,
    StripExtensionPipe,
    UnitPipe,
    ToFixedPipe,
    TransformPipe,
    TransMarketPipe,
    PostSymbolTrimPipe,
    DatexPipe,
    DecimalPipe
  ]
})
export class UtilsModule { }



export {
  LoadingService
}